package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface DetectstandardService {

	public Detectstandard saveDetectstandard(Detectstandard detectstandard);

	public Set<Detectstandard> loadDetectstandards();

	public Set<Detectstandard> loadReferenceDetectstandards(Set<Detectstandard> detectstandards);

	public Set<Detectstandard> loadDetectstandardsByIdSet(Set<Integer> detectstandardsId);

	public Map<String, ?> loadDetectstandardObjectReferencedSet(Detectstandard detectstandard);

	public Map<String, ?> loadDetectstandardClassReferencedSet(Detectstandard detectstandard);

	public void deleteDetectstandard(Detectstandard detectstandard);

	public void deleteDetectstandards(Set<Integer> deleteDetectstandardsId);

	public List<Detectstandard> findAllDetectstandards(Integer startResult, Integer maxRows);

	public Detectstandard findDetectstandardByPrimaryKey(Integer id);

	public Integer countDetectstandards();

	public Integer countDetectstandards(CmiPagination page);

	public Integer countDetectstandardsByName(String queryName);

	public Integer countDetectstandardsByDetachedCriteria(CmiPagination page);

}
